<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/file/upload" enctype="multipart/form-data" method="post">
    <p><input type="file" name="file"></p>
    <p><input type="submit" value="上传文件"></p>

    <a href="${pageContext.request.contextPath}/file/download">下载</a>
</form>
</body>
</html>
